package org.znxs.znxsojquestion;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication()
@EnableDiscoveryClient
@EnableScheduling   // 定时任务
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)  // aop 代理
@ComponentScan(basePackages = "org.znxs")

public class ZnxsOjQuestionApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZnxsOjQuestionApplication.class, args);
    }

}
